#include "mainwidget.h"

#include <QApplication>
#include <QImage>
#include <QDebug>
#include <qdebug>
#include"modle/data.h"
#include"debug.h"
#include"loginandregisterdialog.h"
using namespace module;


int main(int argc, char *argv[])
{

    QApplication a(argc, argv);
#if TEST_LOGIN
    LoginAndRegisterDialog*wid=new LoginAndRegisterDialog();
    wid->show();
#else
    MainWidget *w=MainWidget::getInstance();
    w->show();
#endif
    return a.exec();

}
